<?php

namespace App\Http\Controllers\mobile;

use App\Http\Controllers\Controller;
use App\Models\Category;

class BaseController extends Controller {
	
	public function __construct() {
		$categories = Category::select(['id', 'name', 'order'])->orderBy('id')->get()->toArray();
		view()->share('categories', $categories);
	}
}
